/*
 * @Author         : zhanglk
 * @Date           : 2020-05-29 14:21:21
 * @LastEditTime   : 2020-06-01 13:53:27
 * @LastEditors    : zhanglk
 * @Description    :
 * @FilePath       : \jiaparts-jsj\src\config\index.ts
 */
export interface DefaultConfig {
  apiHost: string;
  channel: string;
  urlApis: Array<string>;
  url1Apis: Array<string>;
  version: string;
  storageWChatKey: string;
  loginKey: string;
  module: string; //请求模块
  loginBeforePages: string;
  officialUrl: string; //关注公众号地址
  pageIndex: string; //首页地址
  storageHasSubsidyKey: string;
  notLoginPage: Array<string>;
}
// let apiHost = 'http://xubdemo.com/addons/yun_shop/api.php';//xub-开发
let apiHost = "https://yidui.jiujiefang7979.cn/addons/yun_shop/api.php"; //生产
// let apiHost = "http://127.0.0.1:7082/addons/yun_shop/api.php"; //本地

// #ifdef H5
// apiHost = "/jiaparts-support-api/addons/yun_shop/api.php";
// #endif

export default {
  apiHost: apiHost,
  urlApis: [
    "?i=1&route=plugin.breed-game.admin.work.weChat.sign",
    "?i=1&route=plugin.breed-game.admin.work.weChat.getPhoneNumber",
    "?i=1&route=plugin.breed-game.admin.work.weChat.firstIndex",
    "?i=1&route=plugin.breed-game.frontend.mobile-bind.sendSms",
    "?i=1&route=plugin.breed-game.frontend.mobile-bind.bindMobile",
  ],
  url1Apis: [
    "?i=1&route=plugin.breed-game.admin.work.user.getUserCoin",
    "?i=1&route=plugin.breed-game.admin.business.userLaunch.getGoodsLaunchNum",
    "?i=1&route=plugin.breed-game.admin.business.userAdopt.adoptionGoods",
    "?i=1&route=plugin.breed-game.admin.business.userAdopt.getAdoptPond",
    "?i=1&route=plugin.breed-game.admin.work.user.getUserGoodsIndex",
    "?i=1&route=plugin.breed-game.admin.business.userWash.getGoodsWash",
    "?i=1&route=plugin.breed-game.admin.business.userLaunch.getNoAdopt",
    "?i=1&route=plugin.breed-game.admin.business.userWash.getFattenGoods",
    "?i=1&route=plugin.breed-game.admin.business.userAdopt.getAdoptPondInfo",
    "?i=1&route=plugin.breed-game.admin.work.user.getUserPartner",
    "?i=1&route=plugin.breed-game.admin.business.userWash.getWashStateIndex",
  ],
  version: "1.0.81",
  storageWChatKey: "sessionKey",
  loginKey: "loginKey1",
  module: "XLTZB",
  officialUrl:
    "https://mp.weixin.qq.com/s?__biz=MzA4MTg4MTA2OQ==&mid=2247484751&idx=1&sn=2a02b14dc20e9bf4e168218bb500b98f&chksm=9f8f77cda8f8fedb7c334c801b4c61c0d0399524f826de7009b79af1e5580caed5c32ef8f405#rd",
  loginBeforePages: "loginBeforePages1",
  pageIndex: "/pages/index/menu",
  storageHasSubsidyKey: "isHasSubsidy",
  notLoginPage: [
    "/pages/dog/myShare",
    "/pages/dog/index",
    "/pages/mall/index/index",
    "/pages/login/phone",
    "/pages/login/index",
    "/pages/login/bind-mobile",
    "/pages/recvDesk/index",
    "/pages/merchantCatalog/index",
    "/pages/login/protocol",
    "/pages/merchantDetails/merchantDetails",
    "/pages/demand/addDemand",
    "/pages/demand/sendSuccess",
  ],
} as DefaultConfig;
